import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
Vue.prototype.$http=axios;
import VueLazyLoad from 'vue-lazyload';
Vue.use(VueLazyLoad,{
  loading:'../static/loading-svg/loading-bars.svg'
});
import infiniteScroll from 'vue-infinite-scroll'
Vue.use(infiniteScroll);

import iView from 'iview';
import 'iview/dist/styles/iview.css';
Vue.use(iView);
Vue.config.productionTip = false;

import './assets/css/base.css'
import './assets/css/product.css'
import './assets/css/login.css'
import './assets/css/checkout.css'
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
});
